package com.hejing.面向对象特征之三_多态.初识多态;

/**
 * ClassName: Animal
 * Package: com.hejing.面向对象特征之三_多态.初识多态
 * Description:
 *
 * @Author: HeJing
 * @Create: 2023-03-26 14:45
 * @Version: 1.0
 */
public class Animal {
    public void eat() {
        System.out.println("动物进食");
    }

    public void jump() {
        System.out.println("动物跳");
    }

}





















